package com.shop.loan.model.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class LoanOrderBillByMybatis {
    /**
     * 
     */
    private Long id;

    /**
     * 优惠本息
     */
    private BigDecimal discountsMoney;

    /**
     * 本金
     */
    private BigDecimal money;

    /**
     * 最后还款时间
     */
    private Date opTime;

    /**
     * 
     */
    private Long orderId;

    /**
     * 逾期天数
     */
    private Integer overdueDay;

    /**
     * 
     */
    private BigDecimal overdueFine;

    /**
     * 当前逾期
     */
    private Boolean overdueStatus;

    /**
     * 已还本息
     */
    private BigDecimal payMoney;

    /**
     * 支付状态
     */
    private Boolean payStatus;

    /**
     * 还款日
     */
    private Date payTime;

    /**
     * 第几期
     */
    private Integer period;

    /**
     * 利息金额
     */
    private BigDecimal rateMoney;

    /**
     * 
     */
    private Integer totalPeriod;


    private BigDecimal unPayMoney;

    private String mobile;
    private BigDecimal piPayMoney;
    private BigDecimal piUnPayMoney;
    private String payTimeStr;
    private String opTimeStr;

    private BigDecimal shopMoney;

    private BigDecimal payMoneyByGoods;

    private Date loanTime;

    public LoanOrderBillByMybatis(Long id, BigDecimal discountsMoney, BigDecimal money, Date opTime, Long orderId, Integer overdueDay, BigDecimal overdueFine, Boolean overdueStatus, BigDecimal payMoney, Boolean payStatus, Date payTime, Integer period, BigDecimal rateMoney, Integer totalPeriod) {
        this.id = id;
        this.discountsMoney = discountsMoney;
        this.money = money;
        this.opTime = opTime;
        this.orderId = orderId;
        this.overdueDay = overdueDay;
        this.overdueFine = overdueFine;
        this.overdueStatus = overdueStatus;
        this.payMoney = payMoney;
        this.payStatus = payStatus;
        this.payTime = payTime;
        this.period = period;
        this.rateMoney = rateMoney;
        this.totalPeriod = totalPeriod;
    }

    public LoanOrderBillByMybatis() {
        super();
    }

    /**
     * 获取
     * @return id 
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id 
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取优惠本息
     * @return discounts_money 优惠本息
     */
    public BigDecimal getDiscountsMoney() {
        return discountsMoney;
    }

    /**
     * 设置优惠本息
     * @param discountsMoney 优惠本息
     */
    public void setDiscountsMoney(BigDecimal discountsMoney) {
        this.discountsMoney = discountsMoney;
    }

    /**
     * 获取本金
     * @return money 本金
     */
    public BigDecimal getMoney() {
        return money;
    }

    /**
     * 设置本金
     * @param money 本金
     */
    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    /**
     * 获取最后还款时间
     * @return op_time 最后还款时间
     */
    public Date getOpTime() {
        return opTime;
    }

    /**
     * 设置最后还款时间
     * @param opTime 最后还款时间
     */
    public void setOpTime(Date opTime) {
        this.opTime = opTime;
    }

    /**
     * 获取
     * @return order_id 
     */
    public Long getOrderId() {
        return orderId;
    }

    /**
     * 设置
     * @param orderId 
     */
    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    /**
     * 获取逾期天数
     * @return overdue_day 逾期天数
     */
    public Integer getOverdueDay() {
        return overdueDay;
    }

    /**
     * 设置逾期天数
     * @param overdueDay 逾期天数
     */
    public void setOverdueDay(Integer overdueDay) {
        this.overdueDay = overdueDay;
    }

    /**
     * 获取
     * @return overdue_fine 
     */
    public BigDecimal getOverdueFine() {
        return overdueFine;
    }

    /**
     * 设置
     * @param overdueFine 
     */
    public void setOverdueFine(BigDecimal overdueFine) {
        this.overdueFine = overdueFine;
    }

    /**
     * 获取当前逾期
     * @return overdue_status 当前逾期
     */
    public Boolean getOverdueStatus() {
        return overdueStatus;
    }

    /**
     * 设置当前逾期
     * @param overdueStatus 当前逾期
     */
    public void setOverdueStatus(Boolean overdueStatus) {
        this.overdueStatus = overdueStatus;
    }

    /**
     * 获取已还本息
     * @return pay_money 已还本息
     */
    public BigDecimal getPayMoney() {
        return payMoney;
    }

    /**
     * 设置已还本息
     * @param payMoney 已还本息
     */
    public void setPayMoney(BigDecimal payMoney) {
        this.payMoney = payMoney;
    }

    /**
     * 获取支付状态
     * @return pay_status 支付状态
     */
    public Boolean getPayStatus() {
        return payStatus;
    }

    /**
     * 设置支付状态
     * @param payStatus 支付状态
     */
    public void setPayStatus(Boolean payStatus) {
        this.payStatus = payStatus;
    }

    /**
     * 获取还款日
     * @return pay_time 还款日
     */
    public Date getPayTime() {
        return payTime;
    }

    /**
     * 设置还款日
     * @param payTime 还款日
     */
    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    /**
     * 获取第几期
     * @return period 第几期
     */
    public Integer getPeriod() {
        return period;
    }

    /**
     * 设置第几期
     * @param period 第几期
     */
    public void setPeriod(Integer period) {
        this.period = period;
    }

    /**
     * 获取利息金额
     * @return rate_money 利息金额
     */
    public BigDecimal getRateMoney() {
        return rateMoney;
    }

    /**
     * 设置利息金额
     * @param rateMoney 利息金额
     */
    public void setRateMoney(BigDecimal rateMoney) {
        this.rateMoney = rateMoney;
    }

    /**
     * 获取
     * @return total_period 
     */
    public Integer getTotalPeriod() {
        return totalPeriod;
    }

    /**
     * 设置
     * @param totalPeriod 
     */
    public void setTotalPeriod(Integer totalPeriod) {
        this.totalPeriod = totalPeriod;
    }
}